﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006B3 RID: 1715
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetEnhanceCommonRogueBuffInfoCsReq : IMessage<GetEnhanceCommonRogueBuffInfoCsReq>, IMessage, IEquatable<GetEnhanceCommonRogueBuffInfoCsReq>, IDeepCloneable<GetEnhanceCommonRogueBuffInfoCsReq>, IBufferMessage
	{
		// Token: 0x17001618 RID: 5656
		// (get) Token: 0x06004D58 RID: 19800 RVA: 0x000D38A1 File Offset: 0x000D1AA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetEnhanceCommonRogueBuffInfoCsReq> Parser
		{
			get
			{
				return GetEnhanceCommonRogueBuffInfoCsReq._parser;
			}
		}

		// Token: 0x17001619 RID: 5657
		// (get) Token: 0x06004D59 RID: 19801 RVA: 0x000D38A8 File Offset: 0x000D1AA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetEnhanceCommonRogueBuffInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700161A RID: 5658
		// (get) Token: 0x06004D5A RID: 19802 RVA: 0x000D38BA File Offset: 0x000D1ABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetEnhanceCommonRogueBuffInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06004D5B RID: 19803 RVA: 0x000D38C1 File Offset: 0x000D1AC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnhanceCommonRogueBuffInfoCsReq()
		{
		}

		// Token: 0x06004D5C RID: 19804 RVA: 0x000D38C9 File Offset: 0x000D1AC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnhanceCommonRogueBuffInfoCsReq(GetEnhanceCommonRogueBuffInfoCsReq other) : this()
		{
			this.monsterId_ = other.monsterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004D5D RID: 19805 RVA: 0x000D38EE File Offset: 0x000D1AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnhanceCommonRogueBuffInfoCsReq Clone()
		{
			return new GetEnhanceCommonRogueBuffInfoCsReq(this);
		}

		// Token: 0x1700161B RID: 5659
		// (get) Token: 0x06004D5E RID: 19806 RVA: 0x000D38F6 File Offset: 0x000D1AF6
		// (set) Token: 0x06004D5F RID: 19807 RVA: 0x000D38FE File Offset: 0x000D1AFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x06004D60 RID: 19808 RVA: 0x000D3907 File Offset: 0x000D1B07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetEnhanceCommonRogueBuffInfoCsReq);
		}

		// Token: 0x06004D61 RID: 19809 RVA: 0x000D3915 File Offset: 0x000D1B15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetEnhanceCommonRogueBuffInfoCsReq other)
		{
			return other != null && (other == this || (this.MonsterId == other.MonsterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004D62 RID: 19810 RVA: 0x000D3944 File Offset: 0x000D1B44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004D63 RID: 19811 RVA: 0x000D3983 File Offset: 0x000D1B83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004D64 RID: 19812 RVA: 0x000D398B File Offset: 0x000D1B8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004D65 RID: 19813 RVA: 0x000D3994 File Offset: 0x000D1B94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004D66 RID: 19814 RVA: 0x000D39C8 File Offset: 0x000D1BC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004D67 RID: 19815 RVA: 0x000D3A06 File Offset: 0x000D1C06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetEnhanceCommonRogueBuffInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004D68 RID: 19816 RVA: 0x000D3A37 File Offset: 0x000D1C37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004D69 RID: 19817 RVA: 0x000D3A40 File Offset: 0x000D1C40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001E86 RID: 7814
		private static readonly MessageParser<GetEnhanceCommonRogueBuffInfoCsReq> _parser = new MessageParser<GetEnhanceCommonRogueBuffInfoCsReq>(() => new GetEnhanceCommonRogueBuffInfoCsReq());

		// Token: 0x04001E87 RID: 7815
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001E88 RID: 7816
		public const int MonsterIdFieldNumber = 12;

		// Token: 0x04001E89 RID: 7817
		private uint monsterId_;
	}
}
